# -*- mode: snippet -*-
# name: for (... : ...) { ... }
# key: foreach
# --
for (${1:String} ${2:name} : ${4:iterable}) {
    $0
}